package com.thread.test20190330.part1.tax7.java8;


import lombok.AllArgsConstructor;
import lombok.Data;

/**
 *
 * @author Conceit
 * 2019/4/5 增加方法
 * @since 1.0.0, 2019/4/5
 */

@Data
@AllArgsConstructor
public class SimplyFunctionTaxCslculation implements IFunctionTaxCslculation{

	private Integer salary;
	private Integer tax;


	@Override
	public Integer appley(Integer salary, Integer tax) {
		return salary+tax;
	}

	public SimplyFunctionTaxCslculation(IFunctionTaxCslculation iFunctionTaxCslculation){
		appley(salary,tax);
	}

}
